home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_200
/
205_01
/
capitals.c
< prev
next >
Wrap
Text File
|
1980-01-01
|
768b
|
27 lines
/*
HEADER: CUG205.00;
TITLE: Text Capitalization Filter;
DATE: 09/24/86;
DESCRIPTION:
"Capitalize text files.";
KEYWORDS: Software tools, Text filters, toupper, case,
capitalization;
SYSTEM: MS-DOS;
FILENAME: CAPITALS.C;
WARNINGS:
"The author claims copyrights and authorizes non-commercial use only.";
AUTHORS: Michael M. Yokoyama;
COMPILERS: Microsoft;
*/
#include <stdio.h>
#include <ctype.h>
main()
{
int c;
while((c = getchar()) != EOF) {
putchar(toupper(c));
}
}